package com.cangxuan.app.entity;

import java.time.LocalDateTime;

/**
 * 订单实体类
 */
public class Orderform {

    private int id;
    private String orderCode;   //订单号
    private String goodsName;   //藏品名称
    private float price;        //成交价
    private String goodsCode;   //藏品编号
    private String status;      //订单状态
    private LocalDateTime createTime;   //创建时间
    private LocalDateTime payTime;      //付款时间
    private LocalDateTime completeTime; //完成时间

    public Orderform() {
    }

    public Orderform(int id, String orderCode, String goodsName, float price, String goodsCode, String status,
                     LocalDateTime createTime, LocalDateTime payTime, LocalDateTime completeTime) {
        this.id = id;
        this.orderCode = orderCode;
        this.goodsName = goodsName;
        this.price = price;
        this.goodsCode = goodsCode;
        this.status = status;
        this.createTime = createTime;
        this.payTime = payTime;
        this.completeTime = completeTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getPayTime() {
        return payTime;
    }

    public void setPayTime(LocalDateTime payTime) {
        this.payTime = payTime;
    }

    public LocalDateTime getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(LocalDateTime completeTime) {
        this.completeTime = completeTime;
    }
}
